package pub.wkq.user.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import pub.wkq.pojo.Stu;
import org.springframework.stereotype.Service;
import pub.wkq.user.mapper.StuMapper;
import pub.wkq.user.service.StuService;

/**
 * <p>
 * 服务实现类
 * </p>
 *
 * @author 王开琦
 * @since 2023-06-05
 */
@Service
public class StuServiceImpl implements StuService {
    @Autowired
    private StuMapper stuMapper;

    @Override
    public void add(Stu stu) {
        stuMapper.insert(stu);
    }
}
